package cn.ht.jywrwater.module.ht.convert.waterleakageanalysis;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.waterleakageanalysis.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.waterleakageanalysis.WaterLeakageAnalysisDO;

/**
 * 漏损分析 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterLeakageAnalysisConvert {

    WaterLeakageAnalysisConvert INSTANCE = Mappers.getMapper(WaterLeakageAnalysisConvert.class);

    WaterLeakageAnalysisDO convert(WaterLeakageAnalysisCreateReqVO bean);

    WaterLeakageAnalysisDO convert(WaterLeakageAnalysisUpdateReqVO bean);

    WaterLeakageAnalysisRespVO convert(WaterLeakageAnalysisDO bean);

    List<WaterLeakageAnalysisRespVO> convertList(List<WaterLeakageAnalysisDO> list);

    PageResult<WaterLeakageAnalysisRespVO> convertPage(PageResult<WaterLeakageAnalysisDO> page);

    List<WaterLeakageAnalysisExcelVO> convertList02(List<WaterLeakageAnalysisDO> list);

}
